fix(import): allow issue-only duplicate closes - #309
Conversation
|
Codex review: needs changes before merge. Reviewed August 7, 2026, 8:28 AM ET / 12:28 UTC. ClawSweeper reviewWhat this changesThe PR relaxes generated fix-before-close policy for issue-only Gitcrawl clusters and adds importer fixtures for issue-only, mixed, and security-signaled clusters. Merge readinessKeep open: the PR still permits superseded issue closures without the fix path that current validation requires, and its MEMBER author prevents automatic cleanup. Priority: P1 Review scores
Verification
How this fits togetherClownfish imports Gitcrawl cluster data into guarded job files that control later automation. The generated closure policy feeds the worker and applicator that can close duplicate or superseded GitHub items. flowchart LR
A[Gitcrawl cluster data] --> B[Cluster importer]
B --> C[Generated job policy]
C --> D[Worker closure plan]
D --> E[Closure validation]
E --> F[Duplicate or superseded action]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Limit the issue-only exemption to duplicate closures, retaining the fix-first guard for superseded closures and proving both outcomes with focused importer coverage. Do we have a high-confidence way to reproduce the issue? Yes—source inspection establishes the path: the PR disables the generated guard for an issue-only cluster, while current validation exempts only duplicate classifications, not superseded ones. Is this the best way to solve the issue? No—the blanket issue-only exemption is broader than the supported duplicate-only exception and bypasses the existing supersession safeguard. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 7a2042df54fe. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (64 earlier review cycles; latest 8 shown)
|
Summary
Validation
node --test test/import-gitcrawl-clusters.test.mjs(8/8)npm run validate(6,699 jobs)